import React from 'react';
import { AIChatProvider } from '@/contexts/aiChat';
import ChatButton from './ChatButton';
import ChatWindow from './ChatWindow';

/**
 * 聊天容器组件
 * 包含悬浮按钮和聊天窗口，提供上下文管理
 */
const ChatContainer: React.FC = () => {
  return (
    <AIChatProvider>
      <ChatButton />
      <ChatWindow />
    </AIChatProvider>
  );
};

export default ChatContainer;
